package com.source.labelAndBarcode.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Joey
 * @since 2021-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BarcodeRevoke对象", description="")
public class BarcodeRevoke implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "barcodeRevokeId", type = IdType.ASSIGN_UUID)
    private String barcodeRevokeId;

    @ApiModelProperty(value = "条形码编号（预留字段）")
    @TableField("barcodeId")
    private String barcodeId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createDate", fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "回收时间")
    @TableField("revokeDate")
    private Date revokeDate;

    @ApiModelProperty(value = "回收人员id")
    @TableField("revokePerson")
    private String revokePerson;

    @ApiModelProperty(value = "退回原因")
    @TableField("sendbackCause")
    private String sendbackCause;

    @ApiModelProperty(value = "退回数量")
    @TableField("sendbackCount")
    private Integer sendbackCount;

    @ApiModelProperty(value = "送回人员id")
    @TableField("sendbackPerson")
    private String sendbackPerson;

    @ApiModelProperty(value = "发放档口编号")
    @TableField("stallsId")
    private Integer stallsId;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updateDate", fill = FieldFill.UPDATE)
    private Date updateDate;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("isDelete")
    @TableLogic
    private Boolean isDelete;


}
